www.gusucode.com > 溷沌分析工具箱 - OpenTSTOOL1.11 > 混沌分析工具箱 - OpenTSTOOL1.11\tstoolbox\@signal\norm2.m
function rs = norm2(s) %tstoolbox/@signal/norm2 % Syntax: % * rs=norm2(s) % % Normalize signal by removing it's mean and dividing by the standard % deviation. % % Copyright 1997-2001 DPI Goettingen, License http://www.physik3.gwdg.de/tstool/gpl.txt error(nargchk(1,1,nargin)); c = norm2(s.core); rs = signal(c,s); rs = addhistory(rs, ['(norm2) Centered signal and divided it by it''s standard deviation']); rs = addcommandlines(rs, 's = norm2(s');